<include file="Public/siteTopbar" />
<link rel="stylesheet" href="__STATIC__/css/base.css" type="text/css">
<link href="__STATIC__/css/tsinformation.css" rel="stylesheet" type="text/css">
<include file="Public/header" />



<div class="container usercenter">
    <div class="page-title">
        <h1>Message Notification</h1>
    </div>

    <?php if($message=="payment success") {?>
        <center><img src="__STATIC__/images/thankyou.gif" style="margin: 20px 0;" /></center>
    <?php }?>

    <div class="cart-empty" style="font-size:14px; line-height:30px;">
    <?php if(isset($message)) {?>
                <p><?php echo($message); ?></p>
    <?php }else{?>
                <p><?php echo($error); ?></p>
	<?php }?>
        <p>Click <a id="href" href="<?php echo($jumpUrl); ?>" style=" color:#CC0066;">here</a> to continue shopping.</p>
        <b id="wait"><?php echo($waitSecond); ?></b> Second, it will automatically jump
    </div>
</div>
<style>
.page-title{padding-top:0px;}
.page-title h1{line-height:40px;}
.cart-empty{padding-bottom:50px;line-height:200%}
</style>
<include file="Public/footer" />
<script type="text/javascript">

(function(){
var wait = document.getElementById('wait'),href = document.getElementById('href').href;
var interval = setInterval(function(){
	var time = --wait.innerHTML;
	if(time <= 0) {
		location.href = href;
		clearInterval(interval);
	};
}, 1000);
})();

</script>
</div>
</body>
</html>